using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Models;

namespace BLL
{

    public static partial class NewsTypeManager
    {
        public static bool AddNewsType(NewsType newsType)
        {
            return NewsTypeService.AddNewsType(newsType);
        }

        public static bool DeleteNewsTypeByID(int iD)
        {
            return NewsTypeService.DeleteNewsTypeByID(iD);
        }

		public static bool ModifyNewsType(NewsType newsType)
        {
            return NewsTypeService.ModifyNewsType(newsType);
        }
        
        public static IList<NewsType> GetAllNewsTypes()
        {
            return NewsTypeService.GetAllNewsTypes();
        }

        public static NewsType GetNewsTypeByID(int iD)
        {
            return NewsTypeService.GetNewsTypeByID(iD);
        }

    }
}
